export interface PackagedCommonParams {
  taskId: string;
  current?: number;
  size?: number;
}

export interface PackagedParams extends PackagedCommonParams {
  boxCode?: string;
  waterMeterCode?: string;
  [key: string]: any;
}
export interface ListItem {
  waterMeterCode: string;
  certificateCode: string;
}

export interface TaskEncasementParam {
  taskId: string | null | undefined;
  waterMeterCodes: ListItem[];
}

export interface ReduceCodeHandleParam {
  taskId: string;
  applyId: string;
  waterMeterCodes: string[];
}

export interface ValidateParam {
  taskId: string;
  type: string;
  waterCodes: string[] | number[];
}
